package com.qhhc.entity;

import java.util.Date;



public class CustomerServiceSession {
    /**
     * 会话ID
     */
    private Long id;
    
    /**
     * 会话唯一标识
     */
    private String sessionId;
    
    /**
     * 用户ID（登录用户）
     */
    private Long userId;
    
    /**
     * 访客ID（未登录用户）
     */
    private String visitorId;
    
    /**
     * 访客名称
     */
    private String visitorName;
    
    /**
     * 客服ID
     */
    private Long serviceId;
    
    /**
     * 客服名称
     */
    private String serviceName;
    
    /**
     * 会话状态：0进行中，1已结束，2已评价
     */
    private Integer status;
    
    /**
     * 来源页面
     */
    private String source;
    
    /**
     * 评价分数(1-5星)
     */
    private Integer evaluationScore;
    
    /**
     * 评价内容
     */
    private String evaluationContent;
    
    /**
     * 最后一条消息
     */
    private String lastMessage;
    
    /**
     * 最后通讯时间
     */
    private Date lastTime;
    
    /**
     * IP地址
     */
    private String ipAddress;
    
    /**
     * 创建时间
     */
    private Date createTime;

    public CustomerServiceSession(Long id, String sessionId, Long userId, String visitorId, String visitorName, Long serviceId, String serviceName, Integer status, String source, Integer evaluationScore, String evaluationContent, String lastMessage, Date lastTime, String ipAddress, Date createTime, Date updateTime) {
        this.id = id;
        this.sessionId = sessionId;
        this.userId = userId;
        this.visitorId = visitorId;
        this.visitorName = visitorName;
        this.serviceId = serviceId;
        this.serviceName = serviceName;
        this.status = status;
        this.source = source;
        this.evaluationScore = evaluationScore;
        this.evaluationContent = evaluationContent;
        this.lastMessage = lastMessage;
        this.lastTime = lastTime;
        this.ipAddress = ipAddress;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public CustomerServiceSession() {
    }

    /**
     * 更新时间
     */
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(String visitorId) {
        this.visitorId = visitorId;
    }

    public String getVisitorName() {
        return visitorName;
    }

    public void setVisitorName(String visitorName) {
        this.visitorName = visitorName;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Integer getEvaluationScore() {
        return evaluationScore;
    }

    public void setEvaluationScore(Integer evaluationScore) {
        this.evaluationScore = evaluationScore;
    }

    public String getEvaluationContent() {
        return evaluationContent;
    }

    public void setEvaluationContent(String evaluationContent) {
        this.evaluationContent = evaluationContent;
    }

    public String getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}